package com.xc.freeapp.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.Bookingreg;
import com.xc.freeapp.entity.Bookings;

/**
 * 预约持久层接口
 * @author ZhangGuangXiao
 *
 */
@Repository
public interface BookingregDao {

	public List<Bookings> queryAppointment(int userid,PageBounds pageBounds);
	
	public List<Bookings> queryAppointmentV3(int userid,PageBounds pageBounds);
	
	public int cancelAppointment(Map<String, Object> map);
	
	public   List<Bookingreg>   getTakeMedicList(Map<String, String> map);
	
	
	public int deleteByPrimaryKey(Integer id);

	public int insert(Bookingreg record) ;

	public Bookingreg selectByPrimaryKey(Integer id);
	
	public  int   updatebookingreg(Map<String,Object> map);
}
